package com.insigma.business.qrcode.soldier.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


@Data
public class MaritalInfoEntity implements Serializable {
    private static final long serialVersionUID = 5947088011395969408L;
    private String registrationOrg;
    private String fCardId;
    private String fName;
    private Date registrationDate;
    private String id;
    private String mCardId;
    private String businessType;
    private String mName;
    @JSONField(name = "tong_time")
    private String tongTime;

    public String shortInfo() {
        return String.format("%s, 时间：%s", businessType, tongTime);
    }
}
